package com.yzd.learnjava.enumerated;

import com.yzd.learnjava.util.Enums;
import com.yzd.learnjava.util.Print;

public class RandomTest {
	public static void main(String[] args) {
		for(int i = 0 ; i < 20; i++) {
			Print.printnb(Enums.random(Activity.class) + " ");
		}
	}
}

enum Activity{
	SITTING, LYING, STANDING, HOPPING, RUNNING, DODGING, JUMPING, FALLING, FLYING
}
